package com.ys.entity.base;

import javax.persistence.Table;

/**
*/
@Table(name="information_schema.`columns`", catalog="column_name")
public class Columns extends BaseEntity<Columns> {

	private String tableCatalog; // 
	private String tableSchema; // 数据库名
	private String tableName; // 表名
	private String columnName; // 字段名
	private Long ordinalPosition; // 字段位置
	private String columnDefault; // 字段默认值
	private String isNullable; // 是否可空（YES，NO）
	private String dataType; // 字段类型
	private Long characterMaximumLength; // 
	private Long characterOctetLength; // 
	private Long numericPrecision; // 
	private Long numericScale; // 
	private Long datetimePrecision; // 
	private String characterSetName; // 
	private String collationName; // 
	private String columnType; // 字段类型（含长度）
	private String columnKey; // 
	private String extra; // 
	private String privileges; // 
	private String columnComment; // 字段说明
	
	public String getTableCatalog() {
		return tableCatalog;
	}
	public Columns setTableCatalog(String tableCatalog) {
		this.tableCatalog = tableCatalog;
		return this;
	}
	public String getTableSchema() {
		return tableSchema;
	}
	public Columns setTableSchema(String tableSchema) {
		this.tableSchema = tableSchema;
		return this;
	}
	public String getTableName() {
		return tableName;
	}
	public Columns setTableName(String tableName) {
		this.tableName = tableName;
		return this;
	}
	public String getColumnName() {
		return columnName;
	}
	public Columns setColumnName(String columnName) {
		this.columnName = columnName;
		return this;
	}
	public Long getOrdinalPosition() {
		return ordinalPosition;
	}
	public Columns setOrdinalPosition(Long ordinalPosition) {
		this.ordinalPosition = ordinalPosition;
		return this;
	}
	public String getColumnDefault() {
		return columnDefault;
	}
	public Columns setColumnDefault(String columnDefault) {
		this.columnDefault = columnDefault;
		return this;
	}
	public String getIsNullable() {
		return isNullable;
	}
	public Columns setIsNullable(String isNullable) {
		this.isNullable = isNullable;
		return this;
	}
	public String getDataType() {
		return dataType;
	}
	public Columns setDataType(String dataType) {
		this.dataType = dataType;
		return this;
	}
	public Long getCharacterMaximumLength() {
		return characterMaximumLength;
	}
	public Columns setCharacterMaximumLength(Long characterMaximumLength) {
		this.characterMaximumLength = characterMaximumLength;
		return this;
	}
	public Long getCharacterOctetLength() {
		return characterOctetLength;
	}
	public Columns setCharacterOctetLength(Long characterOctetLength) {
		this.characterOctetLength = characterOctetLength;
		return this;
	}
	public Long getNumericPrecision() {
		return numericPrecision;
	}
	public Columns setNumericPrecision(Long numericPrecision) {
		this.numericPrecision = numericPrecision;
		return this;
	}
	public Long getNumericScale() {
		return numericScale;
	}
	public Columns setNumericScale(Long numericScale) {
		this.numericScale = numericScale;
		return this;
	}
	public Long getDatetimePrecision() {
		return datetimePrecision;
	}
	public Columns setDatetimePrecision(Long datetimePrecision) {
		this.datetimePrecision = datetimePrecision;
		return this;
	}
	public String getCharacterSetName() {
		return characterSetName;
	}
	public Columns setCharacterSetName(String characterSetName) {
		this.characterSetName = characterSetName;
		return this;
	}
	public String getCollationName() {
		return collationName;
	}
	public Columns setCollationName(String collationName) {
		this.collationName = collationName;
		return this;
	}
	public String getColumnType() {
		return columnType;
	}
	public Columns setColumnType(String columnType) {
		this.columnType = columnType;
		return this;
	}
	public String getColumnKey() {
		return columnKey;
	}
	public Columns setColumnKey(String columnKey) {
		this.columnKey = columnKey;
		return this;
	}
	public String getExtra() {
		return extra;
	}
	public Columns setExtra(String extra) {
		this.extra = extra;
		return this;
	}
	public String getPrivileges() {
		return privileges;
	}
	public Columns setPrivileges(String privileges) {
		this.privileges = privileges;
		return this;
	}
	public String getColumnComment() {
		return columnComment;
	}
	public Columns setColumnComment(String columnComment) {
		this.columnComment = columnComment;
		return this;
	}
}